package com.funcourse.demo.wechat.client.web.io.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.funcourse.demo.wechat.client.common.BaseResponse;
import java.util.List;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class QueryUserInfoResponse extends BaseResponse {
  @JsonProperty("openid")
  String openId;
  @JsonProperty("nickname")
  String nickName;
  @JsonProperty("sex")
  Integer sex;
  @JsonProperty("province")
  String province;
  @JsonProperty("city")
  String city;
  @JsonProperty("country")
  String country;
  @JsonProperty("headimgurl")
  String headImgUrl;
  @JsonProperty("privilege")
  List<String> privilege;
  @JsonProperty("unionid")
  String unionId;

//
//"openid":"OPENID",
//    "nickname":"NICKNAME",
//    "sex":1,
//    "province":"PROVINCE",
//    "city":"CITY",
//    "country":"COUNTRY",
//    "headimgurl": "http://wx.qlogo.cn/mmopen/g3MonUZtNHkdmzicIlibx6iaFqAc56vxLSUfpb6n5WKSYVY0ChQKkiaJSgQ1dZuTOgvLLrhJbERQQ4eMsv84eavHiaiceqxibJxCfHe/0",
//    "privilege":[
//    "PRIVILEGE1",
//    "PRIVILEGE2"
//    ],
//    "unionid": " o6_bmasdasdsad6_2sgVt7hMZOPfL"

}
